<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="/Goods/create" enctype="multipart/form-data" method="post">
        <input type="hidden" name="submitFlag" value="add">
        <table width="40%" align="center">
            <tr>
                <td colspan="3" align="center">新增商品</td>
            </tr>
            <tr>
                <td align="right">ID:</td>
                <td><input type="text" name="id"></td>
            </tr>
            <tr>
                <td align="right">商品名:</td>
                <td><input type="text" name="name"></td>
            </tr>
            <tr>
                <td align="right">价格:</td>
                <td><input type="text" name="price"></td>
            </tr>
            <tr>
                <td align="right">库存:</td>
                <td><input type="text" name="stock"></td>
            </tr>
            <tr>
                <td align="right">描述:</td>
                <td><input type="text" name="description"></td>
            </tr>
            <tr>
                <td align="right">类别:</td>
                <td><input type="text" name="category"></td>
            </tr>
            <tr>
                <td align="right">新品:</td>
                <td><input type="text" name="isNew"></td>
            </tr>
            <tr>
                <td align="right">推荐:</td>
                <td><input type="text" name="commend"></td>
            </tr>
            <tr>
                <td align="right">折扣:</td>
                <td><input type="text" name="discount"></td>
            </tr>
            <tr>
                <td align="right">图片:</td>
                <td><input type="file" name="fileName" size="300"></td>
            </tr>
            <tr>
                <td colspan="2" align="center"><input type="submit" value="保存">&nbsp;&nbsp;<input type="reset" value="重置"></td>
            </tr>
            
            <tr>
            <td class="return"><a href="index.html">返回主页</a></td>
            </tr>
        </table>
       
    </form>
    
</body>
</html>